package com.xinda.admin.dao;

import java.util.List;

import com.xinda.admin.pojo.Provider;
import com.xinda.admin.vo.OrderEditVo;

public interface ProviderMapper {
	
	//1.select providers;
	public List<Provider> selectProviders();
	
	//2.insert provider;
	public void insertProvider(Provider provider);
	
	//3.edit provider;
	public Provider readProvider(int id);
	
	/*public void editProvider(Provider provider);
	*/
	//4.delect provider;
	public void deleteProvider(int id);
	
	//5.delect providers;
	public void deleteProviders(String[] id);


	//6.deactivate provider;
	public void deactivateProvider(Integer id);
	
	//7.start provider;
	public void startProvider(Integer id);
	
	//8.Deactivateproviderlist 
	public List<Provider> showProviders();
	
	//9.provider sell record
	public List<OrderEditVo> getProvider(int id);
	
	//public List<Provider> selectDeactivateProviders();
  
	//public void recordProvider(Provider provider);
	
	//public void showProvider(Provider provider);

}